bitkeeper revision 1.1159.258.74 (42487b0a9j3H5ye852jyPD3Lg6GPaw)
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 28 Mar 2005 21:45:46 +0000 (21:45 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 28 Mar 2005 21:45:46 +0000 (21:45 +0000)
Add a tags target to the Xen Makefile.
Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
BitKeeper/etc/ignore
xen/Makefile

index 0b96e34b39f8496b4594e62fde8a23cd45d4f003..f772e7094f016b1365be3e9570ce6b37afe2af0b 100644 (file)
@@ -70,6 +70,8 @@ tools/vnetd/vnetd
 tools/web-shutdown.tap
 tools/xentrace/xentrace
 tools/xfrd/xfrd
+xen/tags
+xen/TAGS
 xen/arch/x86/asm-offsets.s
 xen/arch/x86/boot/mkelf32
 xen/drivers/pci/classlist.h
index 0455b2680757f0268e58452c86d8ed1328d791c2..b36ed9a43e08460d61328424a4c2d3706c911154 100644 (file)
@@ -103,7 +103,7 @@ include/asm-$(TARGET_ARCH)/asm-offsets.h: arch/$(TARGET_ARCH)/asm-offsets.s
          echo ""; \
          echo "#endif") <$< >$@
 
-.PHONY: default debug install dist clean delete-unfresh-files TAGS
+.PHONY: default debug install dist clean delete-unfresh-files TAGS tags
 
 SUBDIRS = arch/$(TARGET_ARCH) common drivers 
 TAGS: 
@@ -111,5 +111,10 @@ TAGS:
          find include -type d \( -name "asm-*" -o -name config \) -prune -o \
                -name '*.h' -print; \
          find $(SUBDIRS) -name '*.[ch]' ) | grep -v /SCCS/ | etags -
+tags: 
+       ( find include/asm-$(TARGET_ARCH) -name '*.h'; \
+         find include -type d \( -name "asm-*" -o -name config \) -prune -o \
+               -name '*.h' -print; \
+         find $(SUBDIRS) -name '*.[chS]' ) | grep -v /SCCS/ | xargs ctags
 MAP:
        nm $(TARGET) | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map